package edu.spec.wfl.week05.class1;

public class Student {
    private String xm;
    private String xh;
    private static String bj;
    private static String zy;

    public void setXm(String xm){
        this.xm=xm;
    }
    public String getXm(){
        return this.xm;
    }
    public void setXh(String xh){
        this.xh=xh;
    }
    public String getXh(){
        return this.xh;
    }
    public void setBj(String bj){
        this.bj=bj;
    }
    public String getBj(){
        return this.bj;
    }
    public void setZy(String zy){
        this.zy=zy;
    }
    public String getZy(){
        return this.zy;
    }

    public Student(String xm,String xh,String bj,String zy){
        this.xm=xm;
        this.xh=xh;
        this.bj=bj;
        this.zy=zy;
    }

    public static void main(String[] args){
        Student self=new Student("wang","123","1701","ruanjian");
        self.setBj("zhichan");
        System.out.println(self.getBj());
        //self.setBj("zhichan");
        //System.out.println(Student.getBj());
        self.setBj("124");
        System.out.println(self.getBj());
        //self.setXh("124");
        //System.out.println(Student.getXh());
    }
}
